projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e68c554
)
wayland: Stop using surface->children
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 23 Mar 2019 13:28:11 +0000
(09:28 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 May 2019 20:25:13 +0000
(20:25 +0000)
It is always NULL.
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index 646f37057bbc5ea5b89d595a3a58d74ca3f019cf..36ed322d401791df175bfc74f74f4718ae8fff06 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-591,12
+591,10
@@
gdk_wayland_device_query_state (GdkDevice *device,
GdkModifierType *mask)
{
GdkWaylandPointerData *pointer;
- GList *children;
+ GList *children
= NULL
;
if (surface == NULL)
children = gdk_wayland_display_get_toplevel_surfaces (gdk_device_get_display (device));
- else
- children = surface->children;
pointer = GDK_WAYLAND_DEVICE (device)->pointer;